<%@ page language="java" contentType="text/html; charset=UTF-8" import="java.util.*,SiTuQingYou.vo.*,SiTuQingYou.vo.*"
    pageEncoding="UTF-8"%>
    <%
   
     String path = request.getContextPath();
   
    %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
  
  <form method="post" id="f" action="<%=path%>/ScenehomeServlet?method=newphoto"   enctype="multipart/form-data" > 
   <jsp:include page="/ScenehomeServlet">
   <jsp:param value="allscenes" name="method"/>
   </jsp:include>
     请选择景点: <select name="sceneid">
      <% ArrayList<Scene>  allscene =(ArrayList<Scene>) request.getAttribute("scenes");
      for(Scene scene:allscene){
    	  %>
    	  <option value="<%=scene.getId() %>"><%=scene.getScenename() %></option>
    	  <%  } %>
     </select>
     <br><br>  
      请添加景点图片:<input type="file" name="scenepic">
       <br><br>  
     <input type="submit" value="添加照片">
  </form>
</body>
</html>